import request from '@/utils/request'

export function seckillSessionTable(query) {
  return request({
    url: `${process.env.VUE_APP_MODULE_MALL_API}/api/mall/seckill/session/table`,
    method: 'post',
    data: query
  })
}

export function seckillSessionLoad(query) {
  return request({
    url: `${process.env.VUE_APP_MODULE_MALL_API}/api/mall/seckill/session/load`,
    method: 'get',
    params: query
  })
}

export function seckillSessionSave(query) {
  return request({
    url: `${process.env.VUE_APP_MODULE_MALL_API}/api/mall/seckill/session/save`,
    method: 'post',
    data: query
  })
}

export function seckillSessionDelete(query) {
  return request({
    url: `${process.env.VUE_APP_MODULE_MALL_API}/api/mall/seckill/session/delete`,
    method: 'post',
    data: query
  })
}
